home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / games / mac / __interesting_stuff__ / where_is_the_car_key__1.0_ / stack.txt < prev   
Text File  |  1993-06-24  |  9KB  |  185 lines

  1. -- stack: in.0_
  2. -- format: 8 (HyperCard 1)
  3. -- flags: 0x1000 (none)
  4. -- protect password hash: 0
  5. -- maximum user level: 5 (scripting)
  6. -- window: Rect(x1=0, y1=0, x2=0, y2=0)
  7. -- screen: Rect(x1=0, y1=0, x2=0, y2=0)
  8. -- card dimensions: w=0 h=0
  9. -- scroll: x=0 y=0
  10. -- background count: 1
  11. -- first background id: 2742
  12. -- card count: 41
  13. -- first card id: 2983
  14. -- list block id: 21332
  15. -- print block id: 0
  16. -- font table block id: 0
  17. -- style table block id: 0
  18. -- free block count: 11
  19. -- free size: 23392 bytes
  20. -- total size: 385024 bytes
  21. -- stack block size: 7680 bytes
  22. -- created by hypercard version: 0x01258000
  23. -- compacted by hypercard version: 0x01258000
  24. -- modified by hypercard version: 0x01258000
  25. -- opened by hypercard version: 0x01258000
  26. -- patterns[0]: 0x0000000000000000
  27. -- patterns[1]: 0x8000000008000000
  28. -- patterns[2]: 0x8800220088002200
  29. -- patterns[3]: 0x8888222288882222
  30. -- patterns[4]: 0x88AA22AA88AA22AA
  31. -- patterns[5]: 0xCCAA33AACCAA33AA
  32. -- patterns[6]: 0xEEAABBAAEEAABBAA
  33. -- patterns[7]: 0xEEBBBBEEEEBBBBEE
  34. -- patterns[8]: 0xFFBBFFEEFFBBFFEE
  35. -- patterns[9]: 0xFFBBFFFFFFBBFFFF
  36. -- patterns[10]: 0x8010022001084004
  37. -- patterns[11]: 0xFFFFFFFFFFFFFFFF
  38. -- patterns[12]: 0x1144114411441144
  39. -- patterns[13]: 0x1122448811224488
  40. -- patterns[14]: 0xC4800C6843023026
  41. -- patterns[15]: 0xB130031BD8C00C8D
  42. -- patterns[16]: 0xAA00AA00AA00AA00
  43. -- patterns[17]: 0x8822552288225522
  44. -- patterns[18]: 0x8855225588552255
  45. -- patterns[19]: 0x77DD77DD77DD77DD
  46. -- patterns[20]: 0x8000000000000000
  47. -- patterns[21]: 0xAA55AA55AA55AA55
  48. -- patterns[22]: 0x038448300C020101
  49. -- patterns[23]: 0x8244394482010101
  50. -- patterns[24]: 0x8814224188412214
  51. -- patterns[25]: 0x8080413E080814E3
  52. -- patterns[26]: 0x22048C7422179810
  53. -- patterns[27]: 0xBE808808EB088880
  54. -- patterns[28]: 0x25C8328964244C92
  55. -- patterns[29]: 0xA29C41BE2AC914EB
  56. -- patterns[30]: 0x40A00000040A0000
  57. -- patterns[31]: 0x8040200002040800
  58. -- patterns[32]: 0xAA00800088008000
  59. -- patterns[33]: 0xFF80808080808080
  60. -- patterns[34]: 0x081C22C180010204
  61. -- patterns[35]: 0xFF808080FF080808
  62. -- patterns[36]: 0xF87422478F172271
  63. -- patterns[37]: 0xBF00BFBFB0B0B0B0
  64. -- patterns[38]: 0xFF7FBE5DA2418000
  65. -- patterns[39]: 0xFAF5FAF5A050A050
  66. -- checksum: 0x0
  67. ----- HyperTalk script -----
  68. on openstack
  69.   hide menubar
  70.   get cd fld id 7 of cd id 2983
  71.   if it/it <>1 then
  72.     put 0 into cd fld id 7 of cd id 2983
  73.   else
  74.     add 1 to it
  75.     put it into cd fld id 7 of cd id 2983
  76.   end if
  77. end openstack
  78.  
  79. on startup
  80.   set userlevel to 5
  81.   put random(8) into key
  82.  
  83.   if key is 1 then
  84.     set the script of button id 2 of cd "ll" to the script of button"gewonnen" of cd"1"
  85.     set the script of button id 14 of cd "mm" to the script of button"verloren" of cd"1"
  86.     set the script of button id 2 of cd "nn" to the script of button"verloren" of cd"1"
  87.     set the script of button id 4 of cd "nn" to the script of button"verloren" of cd"1"
  88.     set the script of button id 3 of cd "xxx" to the script of button"verloren" of cd"1"
  89.     set the script of button id 2 of cd "xxxx" to the script of button"verloren" of cd"1"
  90.     set the script of button id 2 of cd "+" to the script of button"verloren" of cd"1"
  91.     set the script of button 3 of cd "+" to the script of button"verloren" of cd"1"
  92.     exit startup
  93.   end if
  94.  
  95.   if key is 2 then
  96.     set the script of button id 2 of cd "ll" to the script of button"verloren" of cd"1"
  97.     set the script of button id 14 of cd "mm" to the script of button"gewonnen" of cd"1"
  98.     set the script of button id 2 of cd "nn" to the script of button"verloren" of cd"1"
  99.     set the script of button id 4 of cd "nn" to the script of button"verloren" of cd"1"
  100.     set the script of button id 3 of cd "xxx" to the script of button"verloren" of cd"1"
  101.     set the script of button id 2 of cd "xxxx" to the script of button"verloren" of cd"1"
  102.     set the script of button id 2 of cd "+" to the script of button"verloren" of cd"1"
  103.     set the script of button 3 of cd "+" to the script of button"verloren" of cd"1"
  104.     exit startup
  105.   end if
  106.  
  107.   if key is 3 then
  108.     set the script of button id 2 of cd "ll" to the script of button"verloren" of cd"1"
  109.     set the script of button id 14 of cd "mm" to the script of button"verloren" of cd"1"
  110.     set the script of button id 2 of cd "nn" to the script of button"gewonnen" of cd"1"
  111.     set the script of button id 4 of cd "nn" to the script of button"verloren" of cd"1"
  112.     set the script of button id 3 of cd "xxx" to the script of button"verloren" of cd"1"
  113.     set the script of button id 2 of cd "xxxx" to the script of button"verloren" of cd"1"
  114.     set the script of button id 2 of cd "+" to the script of button"verloren" of cd"1"
  115.     set the script of button 3 of cd "+" to the script of button"verloren" of cd"1"
  116.     exit startup
  117.   end if
  118.  
  119.   if key is 4 then
  120.     set the script of button id 2 of cd "ll" to the script of button"verloren" of cd"1"
  121.     set the script of button id 14 of cd "mm" to the script of button"verloren" of cd"1"
  122.     set the script of button id 2 of cd "nn" to the script of button"verloren" of cd"1"
  123.     set the script of button id 4 of cd "nn" to the script of button"gewonnen" of cd"1"
  124.     set the script of button id 3 of cd "xxx" to the script of button"verloren" of cd"1"
  125.     set the script of button id 2 of cd "xxxx" to the script of button"verloren" of cd"1"
  126.     set the script of button id 2 of cd "+" to the script of button"verloren" of cd"1"
  127.     set the script of button 3 of cd "+" to the script of button"verloren" of cd"1"
  128.     exit startup
  129.   end if
  130.  
  131.   if key is 5 then
  132.     set the script of button id 2 of cd "ll" to the script of button"verloren" of cd"1"
  133.     set the script of button id 14 of cd "mm" to the script of button"verloren" of cd"1"
  134.     set the script of button id 2 of cd "nn" to the script of button"verloren" of cd"1"
  135.     set the script of button id 4 of cd "nn" to the script of button"verloren" of cd"1"
  136.     set the script of button id 3 of cd "xxx" to the script of button"gewonnen" of cd"1"
  137.     set the script of button id 2 of cd "xxxx" to the script of button"verloren" of cd"1"
  138.     set the script of button id 2 of cd "+" to the script of button"verloren" of cd"1"
  139.     set the script of button 3 of cd "+" to the script of button"verloren" of cd"1"
  140.     exit startup
  141.   end if
  142.  
  143.   if key is 6 then
  144.     set the script of button id 2 of cd "ll" to the script of button"verloren" of cd"1"
  145.     set the script of button id 14 of cd "mm" to the script of button"verloren" of cd"1"
  146.     set the script of button id 2 of cd "nn" to the script of button"verloren" of cd"1"
  147.     set the script of button id 4 of cd "nn" to the script of button"verloren" of cd"1"
  148.     set the script of button id 3 of cd "xxx" to the script of button"verloren" of cd"1"
  149.     set the script of button id 2 of cd "xxxx" to the script of button"gewonnen" of cd"1"
  150.     set the script of button id 2 of cd "+" to the script of button"verloren" of cd"1"
  151.     set the script of button 3 of cd "+" to the script of button"verloren" of cd"1"
  152.     exit startup
  153.   end if
  154.  
  155.   if key is 7 then
  156.     set the script of button id 2 of cd "ll" to the script of button"verloren" of cd"1"
  157.     set the script of button id 14 of cd "mm" to the script of button"verloren" of cd"1"
  158.     set the script of button id 2 of cd "nn" to the script of button"verloren" of cd"1"
  159.     set the script of button id 4 of cd "nn" to the script of button"verloren" of cd"1"
  160.     set the script of button id 3 of cd "xxx" to the script of button"verloren" of cd"1"
  161.     set the script of button id 2 of cd "xxxx" to the script of button"verloren" of cd"1"
  162.     set the script of button id 2 of cd "+" to the script of button"gewonnen" of cd"1"
  163.     set the script of button 3 of cd "+" to the script of button"verloren" of cd"1"
  164.     exit startup
  165.   end if
  166.  
  167.   if key is 8 then
  168.     set the script of button id 2 of cd "ll" to the script of button"verloren" of cd"1"
  169.     set the script of button id 14 of cd "mm" to the script of button"verloren" of cd"1"
  170.     set the script of button id 2 of cd "nn" to the script of button"verloren" of cd"1"
  171.     set the script of button id 4 of cd "nn" to the script of button"verloren" of cd"1"
  172.     set the script of button id 3 of cd "xxx" to the script of button"verloren" of cd"1"
  173.     set the script of button id 2 of cd "xxxx" to the script of button"verloren" of cd"1"
  174.     set the script of button id 2 of cd "+" to the script of button"verloren" of cd"1"
  175.     set the script of button 3 of cd "+" to the script of button"gewonnen" of cd"1"
  176.     exit startup
  177.   end if
  178. end startup
  179.  
  180.  
  181. on idle
  182.   hide menubar
  183. end idle
  184.  
  185.